package com.mycat.mapper;

import com.mycat.pojo.Item;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ItemMapper {
    Item getOne(@Param("id") int id);
    Integer count();
    void insert(Item item);
    List<Item> getList();
}
